-
Notifications
You must be signed in to change notification settings - Fork 54
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Run mlx-ui as non-root user #339
Conversation
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: ckadner The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
After changes to the mlx-ui Docker image, we no longer require the externally mounted build volume Related: machine-learning-exchange/mlx#339 Signed-off-by: Christian Kadner <[email protected]>
Tested with @ckadner on a OC 4.10 cluster, looking good:
|
question: I thought you want to use package-lock.json to lock all package versions since you update two package-lock.json files. However, when building the docker image, you remove the lock files before calling |
I can remove that. I put that in because the |
Closes machine-learning-exchange#337 Signed-off-by: Christian Kadner <[email protected]>
when package-lock.json exits, |
Are you referring to |
/lgtm |
After changes to the mlx-ui Docker image, we no longer require the externally mounted build volume Related: machine-learning-exchange/mlx#339 Signed-off-by: Christian Kadner <[email protected]>
* Add dev doc links to CONTRIBUTING.md (#312) Resolves a task from #304 Signed-off-by: Rafael Vasquez <[email protected]> * Fixes the references to latest kfctl release (#311) Resolves a task from #304 Signed-off-by: Rafael Vasquez <[email protected]> * Do not verify links in project dependencies (#320) Resolves #319 Signed-off-by: Christian Kadner <[email protected]> * Add navigation and description table of docs (#314) * Create readme for docs * Add description table to readme * Add links to table * update relative links * Change documentation to document Signed-off-by: Rafael Vasquez <[email protected]> * Add script to update the docs table (#317) Signed-off-by: Rafael Vasquez <[email protected]> * Modified the way sed version is set (#315) Instead of checking the operating system or shell emulator, test which version of `sed` is actually installed in the local environment. Resolves #301 Signed-off-by: Krishna Kumar <[email protected]> * Bump waitress from 2.0.0 to 2.1.1 in /api/server (#321) Bumps [waitress](https://github.com/Pylons/waitress) from 2.0.0 to 2.1.1. - [Release notes](https://github.com/Pylons/waitress/releases) - [Changelog](https://github.com/Pylons/waitress/blob/master/CHANGES.txt) - [Commits](Pylons/waitress@v2.0.0...v2.1.1) --- updated-dependencies: - dependency-name: waitress dependency-type: direct:production ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump jupyter-server from 1.13.4 to 1.15.4 in /api/server (#324) Bumps [jupyter-server](https://github.com/jupyter/jupyter_server) from 1.13.4 to 1.15.4. - [Release notes](https://github.com/jupyter/jupyter_server/releases) - [Changelog](https://github.com/jupyter-server/jupyter_server/blob/main/CHANGELOG.md) - [Commits](jupyter-server/jupyter_server@v1.13.4...v1.15.4) --- updated-dependencies: - dependency-name: jupyter-server dependency-type: indirect ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump minimist from 1.2.5 to 1.2.6 in /dashboard/origin-mlx (#326) Bumps [minimist](https://github.com/substack/minimist) from 1.2.5 to 1.2.6. - [Release notes](https://github.com/substack/minimist/releases) - [Commits](https://github.com/substack/minimist/compare/1.2.5...1.2.6) --- updated-dependencies: - dependency-name: minimist dependency-type: indirect ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump notebook from 6.4.8 to 6.4.10 in /api/server (#327) Bumps [notebook](http://jupyter.org) from 6.4.8 to 6.4.10. --- updated-dependencies: - dependency-name: notebook dependency-type: indirect ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Update API developer docs (#325) * Add codegen workflow diagram * Describe codegen workflow * Describe API server package modules Closes #325 Signed-off-by: Pavan Pss <[email protected]> Co-authored-by: Christian Kadner <[email protected]> * Update UI developer docs (#323) Closes #323 Signed-off-by: RRM123 <[email protected]> * Correct description for make update_doc_table (#329) Signed-off-by: ezinneanne <[email protected]> * Update Kubernetes high version in deployment docs (#318) (#332) * Add Troubleshooting section * Limit K8s version for KIND cluster using `--image` flag Resolves #318 Signed-off-by: Kiran-Patel <[email protected]> Signed-off-by: Kiran Patel [email protected] Signed-off-by: Christian Kadner <[email protected]> Co-authored-by: Kiran-Patel <[email protected]> Co-authored-by: Christian Kadner <[email protected]> * fix errors in mlx-ui startup (#338) * Run mlx-ui as non-root user (#339) Closes #337 Signed-off-by: Christian Kadner <[email protected]> * Update MLX setup instructions for KF 1.5 (#346) * Update MLX setup instructions for KF 1.5 Signed-off-by: Christian Kadner <[email protected]> * fix selected assets show up in different menus (#342) Signed-off-by: Jiaxuan-Yang <[email protected]> * Consolidate readme (#356) Signed-off-by: Rafael Vasquez <[email protected]> Signed-off-by: Rafael Vasquez <[email protected]> Co-authored-by: Rafael Vasquez <[email protected]> * Document MLX Models Workshop (#352) Signed-off-by: Christian Kadner <[email protected]> * Add GitHub action to verify doc links (#357) Signed-off-by: Rafael Vasquez <[email protected]> Signed-off-by: Rafael Vasquez <[email protected]> Signed-off-by: Christian Kadner <[email protected]> Signed-off-by: Krishna Kumar <[email protected]> Signed-off-by: RRM123 <[email protected]> Signed-off-by: ezinneanne <[email protected]> Signed-off-by: Jiaxuan-Yang <[email protected]> Signed-off-by: Rafael Vasquez <[email protected]> Co-authored-by: Rafael Vasquez <[email protected]> Co-authored-by: Krishna Kumar Ramachandran <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Pavan Pss <[email protected]> Co-authored-by: RRM123 <[email protected]> Co-authored-by: Ezinne Anne Emilia <[email protected]> Co-authored-by: Kiran Patel <[email protected]> Co-authored-by: Kiran-Patel <[email protected]> Co-authored-by: jbusche <[email protected]> Co-authored-by: Joanna <[email protected]> Co-authored-by: Rafael Vasquez <[email protected]>
After changes to the mlx-ui Docker image, we no longer require the externally mounted build volume Related: machine-learning-exchange/mlx#339 Signed-off-by: Christian Kadner <[email protected]>
Run the MLX UI container as
node
user not asroot
.Also update to Node 16
Closes: #337
Related: IBM/manifests#43
FYI @Tomcli @yhwang -- this worked on OC on Fyre after undoing the
mlx-ui
manifest change for adding theemptyDir
build-volume
. I created a PR #43 on the manifest repo for it.